home *** CD-ROM | disk | FTP | other *** search
/ The Ultimate Frank Lloyd…ght - America's Architect / Ultimate Frank Lloyd Wright, The - America's Architect (1994)(Microsoft Home).iso / pre / flw / flweh13.dir / 00167_Script_167 < prev    next >
Text File  |  1994-11-15  |  2KB  |  75 lines

  1. on startMovie
  2.   cursor 4
  3.   global nowFrame, currIntro, currMM
  4.   set currMM = "FLWWT"
  5.   
  6.   preLoadCast A11,A16
  7.   
  8.   puppetSprite 21, TRUE
  9.   puppetSprite 22, TRUE
  10.   puppetSprite 23, TRUE
  11.   puppetSprite 11, TRUE
  12.   set the immediate of sprite 23 to TRUE
  13.   set the stretch of sprite 23 to FALSE
  14. end startMovie
  15.  
  16. on saveLocals
  17.   global lastMovie, lastFrame, nowFrame
  18.   set lastFrame = nowFrame
  19.   set lastMovie = "FLWEH13"
  20. end saveLocals
  21.  
  22. on buttonState
  23.   global FrankNav, bFlag
  24.   
  25.   if rollover(11) then
  26.     set the castNum of sprite 11 to 1086
  27.     if the mouseDown then
  28.       set the castNum of sprite 11 to 1087
  29.     end if
  30.   else 
  31.     set the castNum of sprite 11 to 1085
  32.   end if
  33.   
  34.   if rollover(5) then
  35.     rollCheck
  36.   else 
  37.     set pos = 0
  38.     cursor -1
  39.   end if
  40.   
  41.   if (the mouseV > 200) or (bFlag = TRUE) then
  42.     doState
  43.   end if
  44. end buttonState
  45.  
  46.  
  47. on rollCheck
  48.   global right, left, forw, down, pos
  49.   if the mouseH>=445 and the mouseH<=536 and the mouseV>65 and the mouseV<305 then
  50.     if right = 1 then
  51.       set pos = 3
  52.       cursor [1065,1066]
  53.     else 
  54.       set pos = 0
  55.       cursor [1071,1072]
  56.     end if
  57.   else if the mouseH>=216 and the mouseH<=307 and the mouseV>65 and the mouseV<305 then
  58.     if left = 1 then
  59.       set pos = 1
  60.       cursor [1069,1070]
  61.     else
  62.       set pos = 0
  63.       cursor [1071,1072]
  64.     end if
  65.   else if the mouseH>=306 and the mouseH<=446 and the mouseV>65 and the mouseV<305 then
  66.     if forw = 1 then
  67.       set pos = 2
  68.       cursor [1067,1068]
  69.     else
  70.       set pos = 0
  71.       cursor [1071,1072]
  72.     end if
  73.   end if
  74. end rollCheck
  75.